package com.cloudservice.ccs.biz;

import com.cloudservice.ccs.entity.WorkloadStatistics;
import com.cloudservice.ccs.model.WorkloadStatisticsAggregation;
import com.cloudservice.ccs.model.WorkloadStatisticsWithAverage;

import java.util.List;
import java.util.Map;

public interface IWorkloadStatisticsBiz {

	void save(WorkloadStatistics workloadStatistics);

	void update(Integer id, WorkloadStatistics workloadStatistics);

	void delete(Integer id);

	void partialUpdate(Integer id, Map<String, Object> fields);

	WorkloadStatistics getOne(Integer id);

	List<WorkloadStatistics> getAll();

    List<WorkloadStatisticsWithAverage> getAllWithAverage();

    WorkloadStatisticsAggregation getAggregation();
}
